<!--
    Copyright 2013 Aaron Curtis

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<!DOCTYPE html>
<head>
<title>Afterflight UAV log analysis</title>
<link rel="stylesheet" type="text/css" href="/media/css/common.css">

<script type="text/javascript" src="/media/js/jquery.min.js"></script>
<script type="text/javascript" src="/media/js/jquery.scrollIntoView.min.js"></script>

<script src="/media/js/openlayers/OpenLayers.js"></script>
<script src="/media/js/openlayers/lib/Control/ScaleBar.js"></script>

<script type="text/javascript" src="/media/js/timeline.js"></script>
<link rel="stylesheet" type="text/css" href="/media/css/timeline.css">

{% block head %}{% endblock %}

<!-- Google analytics -->
<script type="text/javascript">
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-41409223-1', 'foobarbecue.com');
  ga('send', 'pageview');
</script>

</head>


<div id="header">
<h1>Afterflight: UAV log analysis suite</h1>
<p class="nav-status">Version 0.1 alpha. {% block nav-status %}{% endblock %}</p>
<div class='acct-links'>
<a href=/>Home</a>
|
{% if request.user.is_authenticated %}
    <a href="{% url "account_logout" %}">Log out</a>
{% else %}
    <a href="{% url "account_login" %}">Login</a>
{% endif %}
| <a href=/upload>Upload</a>
| <a href=/about>About</a></div>
</div>

{% block content %}{% endblock %}

</html>